Optimal. Leaf size=283 \[ -\frac{(5-4 x) (2 x+1)^{3/2}}{31 \left (5 x^2+3 x+2\right )}-\frac{8}{155} \sqrt{2 x+1}+\frac{1}{155} \sqrt{\frac{1}{310} \left (10325 \sqrt{35}-32678\right )} \log \left (5 (2 x+1)-\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{2 x+1}+\sqrt{35}\right )-\frac{1}{155} \sqrt{\frac{1}{310} \left (10325 \sqrt{35}-32678\right )} \log \left (5 (2 x+1)+\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{2 x+1}+\sqrt{35}\right )-\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\frac{\sqrt{10 \left (2+\sqrt{35}\right )}-10 \sqrt{2 x+1}}{\sqrt{10 \left (\sqrt{35}-2\right )}}\right )+\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\frac{10 \sqrt{2 x+1}+\sqrt{10 \left (2+\sqrt{35}\right )}}{\sqrt{10 \left (\sqrt{35}-2\right )}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.410117, antiderivative size = 283, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364, Rules used = {738, 824, 826, 1169, 634, 618, 204, 628} \[ -\frac{(5-4 x) (2 x+1)^{3/2}}{31 \left (5 x^2+3 x+2\right )}-\frac{8}{155} \sqrt{2 x+1}+\frac{1}{155} \sqrt{\frac{1}{310} \left (10325 \sqrt{35}-32678\right )} \log \left (5 (2 x+1)-\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{2 x+1}+\sqrt{35}\right )-\frac{1}{155} \sqrt{\frac{1}{310} \left (10325 \sqrt{35}-32678\right )} \log \left (5 (2 x+1)+\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{2 x+1}+\sqrt{35}\right )-\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\frac{\sqrt{10 \left (2+\sqrt{35}\right )}-10 \sqrt{2 x+1}}{\sqrt{10 \left (\sqrt{35}-2\right )}}\right )+\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\frac{10 \sqrt{2 x+1}+\sqrt{10 \left (2+\sqrt{35}\right )}}{\sqrt{10 \left (\sqrt{35}-2\right )}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 738
Rule 824
Rule 826
Rule 1169
Rule 634
Rule 618
Rule 204
Rule 628
Rubi steps
\begin{align*} \int \frac{(1+2 x)^{5/2}}{\left (2+3 x+5 x^2\right )^2} \, dx &=-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{1}{31} \int \frac{(19-4 x) \sqrt{1+2 x}}{2+3 x+5 x^2} \, dx\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{1}{155} \int \frac{111+194 x}{\sqrt{1+2 x} \left (2+3 x+5 x^2\right )} \, dx\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{2}{155} \operatorname{Subst}\left (\int \frac{28+194 x^2}{7-4 x^2+5 x^4} \, dx,x,\sqrt{1+2 x}\right )\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{\operatorname{Subst}\left (\int \frac{28 \sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}-\left (28-194 \sqrt{\frac{7}{5}}\right ) x}{\sqrt{\frac{7}{5}}-\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )}{155 \sqrt{14 \left (2+\sqrt{35}\right )}}+\frac{\operatorname{Subst}\left (\int \frac{28 \sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+\left (28-194 \sqrt{\frac{7}{5}}\right ) x}{\sqrt{\frac{7}{5}}+\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )}{155 \sqrt{14 \left (2+\sqrt{35}\right )}}\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{1}{775} \left (97+2 \sqrt{35}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{\frac{7}{5}}-\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )+\frac{1}{775} \left (97+2 \sqrt{35}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{\frac{7}{5}}+\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )+\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \operatorname{Subst}\left (\int \frac{-\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+2 x}{\sqrt{\frac{7}{5}}-\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )-\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \operatorname{Subst}\left (\int \frac{\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+2 x}{\sqrt{\frac{7}{5}}+\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )} x+x^2} \, dx,x,\sqrt{1+2 x}\right )\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}+\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \log \left (\sqrt{35}-\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{1+2 x}+5 (1+2 x)\right )-\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \log \left (\sqrt{35}+\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{1+2 x}+5 (1+2 x)\right )-\frac{1}{775} \left (2 \left (97+2 \sqrt{35}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{2}{5} \left (2-\sqrt{35}\right )-x^2} \, dx,x,-\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+2 \sqrt{1+2 x}\right )-\frac{1}{775} \left (2 \left (97+2 \sqrt{35}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{2}{5} \left (2-\sqrt{35}\right )-x^2} \, dx,x,\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+2 \sqrt{1+2 x}\right )\\ &=-\frac{8}{155} \sqrt{1+2 x}-\frac{(5-4 x) (1+2 x)^{3/2}}{31 \left (2+3 x+5 x^2\right )}-\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\sqrt{\frac{5}{2 \left (-2+\sqrt{35}\right )}} \left (\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}-2 \sqrt{1+2 x}\right )\right )+\frac{1}{155} \sqrt{\frac{2}{155} \left (32678+10325 \sqrt{35}\right )} \tan ^{-1}\left (\sqrt{\frac{5}{2 \left (-2+\sqrt{35}\right )}} \left (\sqrt{\frac{2}{5} \left (2+\sqrt{35}\right )}+2 \sqrt{1+2 x}\right )\right )+\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \log \left (\sqrt{35}-\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{1+2 x}+5 (1+2 x)\right )-\frac{1}{155} \sqrt{\frac{1}{310} \left (-32678+10325 \sqrt{35}\right )} \log \left (\sqrt{35}+\sqrt{10 \left (2+\sqrt{35}\right )} \sqrt{1+2 x}+5 (1+2 x)\right )\\ \end{align*}
Mathematica [C] time = 0.672765, size = 141, normalized size = 0.5 \[ \frac{-\frac{155 \sqrt{2 x+1} (54 x+41)}{5 x^2+3 x+2}+2 \sqrt{10-5 i \sqrt{31}} \left (62-101 i \sqrt{31}\right ) \tanh ^{-1}\left (\frac{\sqrt{10 x+5}}{\sqrt{2-i \sqrt{31}}}\right )+2 \sqrt{10+5 i \sqrt{31}} \left (62+101 i \sqrt{31}\right ) \tanh ^{-1}\left (\frac{\sqrt{10 x+5}}{\sqrt{2+i \sqrt{31}}}\right )}{24025} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.076, size = 642, normalized size = 2.3 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (2 \, x + 1\right )}^{\frac{5}{2}}}{{\left (5 \, x^{2} + 3 \, x + 2\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.89147, size = 2557, normalized size = 9.04 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 127.154, size = 246, normalized size = 0.87 \begin{align*} - \frac{304 \left (2 x + 1\right )^{\frac{3}{2}}}{5 \left (- 992 x + 620 \left (2 x + 1\right )^{2} + 372\right )} - \frac{896 \left (2 x + 1\right )^{\frac{3}{2}}}{5 \left (- 6944 x + 4340 \left (2 x + 1\right )^{2} + 2604\right )} + \frac{608 \sqrt{2 x + 1}}{25 \left (- 992 x + 620 \left (2 x + 1\right )^{2} + 372\right )} - \frac{12096 \sqrt{2 x + 1}}{25 \left (- 6944 x + 4340 \left (2 x + 1\right )^{2} + 2604\right )} - \frac{304 \operatorname{RootSum}{\left (407144088666112 t^{4} + 3325152256 t^{2} + 11045, \left ( t \mapsto t \log{\left (\frac{33312534528 t^{3}}{235} + \frac{166784 t}{235} + \sqrt{2 x + 1} \right )} \right )\right )}}{25} - \frac{448 \operatorname{RootSum}{\left (19950060344639488 t^{4} + 498437272576 t^{2} + 10878125, \left ( t \mapsto t \log{\left (- \frac{11049511452672 t^{3}}{2205125} + \frac{307918256 t}{2205125} + \sqrt{2 x + 1} \right )} \right )\right )}}{25} + \frac{64 \operatorname{RootSum}{\left (1722112 t^{4} + 1984 t^{2} + 5, \left ( t \mapsto t \log{\left (- \frac{27776 t^{3}}{5} + \frac{108 t}{5} + \sqrt{2 x + 1} \right )} \right )\right )}}{25} + \frac{16 \operatorname{RootSum}{\left (1230080 t^{4} + 1984 t^{2} + 7, \left ( t \mapsto t \log{\left (9920 t^{3} + 8 t + \sqrt{2 x + 1} \right )} \right )\right )}}{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (2 \, x + 1\right )}^{\frac{5}{2}}}{{\left (5 \, x^{2} + 3 \, x + 2\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]